import {zh} from '../lang/zh'

export const getValue =(path:string[])=>{
    let value :any=zh
    path.forEach((item)=>{
        value=value[item]
    })
    return value
}